#ifndef _XETAL_H
#define _XETAL_H

#ifdef __cplusplus
	extern "C" {
#endif

#define	XETAL_ACTIVE			(0x7) // Address sensor EPLD for Xetal control
#define	XETAL_MAX_STRING_LENGTH	(10)

extern unsigned char d_i2c[26];  

extern int XetalWriteParam(void);
extern int XetalOn(void);
extern int XetalActivateI2C(void);
extern int XetalInactivateI2C(void);
extern int XetalLoadProgram(char *filename);


/*
 *````````````````````````````````````````````````````````````````````````````
 */

#ifdef __cplusplus
	}
#endif

#endif // _XETAL_H
